From a393a36bb7db2398f0897e4756a443be413981cf Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Tue, 27 Dec 2005 12:49:22 +0000 Subject: [PATCH] Removing leftover ld.conf. --- debian/changelog | 8 ++++++++ debian/ocaml-base-nox.postinst.in | 13 +++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4c0526b0..2cbf14fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +ocaml (3.09.0-5) UNRELEASED; urgency=low + + * NOT RELEASED YET + * Removing possibly leftover /usr/lib/ocaml/ld.conf, closes: #300846. + * Added a watch file. + + -- Samuel Mimram Tue, 27 Dec 2005 13:40:07 +0100 + ocaml (3.09.0-4) unstable; urgency=low [ Julien Cristau ] diff --git a/debian/ocaml-base-nox.postinst.in b/debian/ocaml-base-nox.postinst.in index cfeb73b1..9adcbe13 100644 --- a/debian/ocaml-base-nox.postinst.in +++ b/debian/ocaml-base-nox.postinst.in @@ -18,12 +18,13 @@ if [ ! -e /usr/local/lib/ocaml/#OcamlABI#/stublibs ]; then fi fi -for i in /usr/lib/ocaml/3.06 /etc/ocaml /var/lib/ocaml; do \ - if [ -e $i/ld.conf ]; then \ - echo "Removing leftover $i/ld.conf"; \ - rm -f $i/ld.conf; \ - rmdir --ignore-fail-on-non-empty $i; \ - fi; \ +for i in /usr/lib/ocaml/3.06 /etc/ocaml /var/lib/ocaml /usr/lib/ocaml; \ +do \ + if [ -e $i/ld.conf ]; then \ + echo "Removing leftover $i/ld.conf"; \ + rm -f $i/ld.conf; \ + rmdir --ignore-fail-on-non-empty $i; \ + fi; \ done #DEBHELPER# -- 2.30.2